package com.xingzhe.pengji.framework.log;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

import com.xingzhe.pengji.framework.bean.BaseObjLog;

@Component
public class PjLogger extends BaseObjLog
{
    @Async
    public void debug(Object object)
    {
        getLog().debug(object.toString());
    }
    
    @Async
    public void info(Object object)
    {
        getLog().info(object.toString());
    }
    
    @Async
    public void warn(Object object)
    {
        getLog().warn(object.toString());
    }
    
    @Async
    public void error(Object object)
    {
        getLog().error(object.toString());
    }
    
}
